<?php
//模块插件类
//对外接口函数类，可通过“p('模块名称')->方法名” 来调用本类的方法
defined('BY_JYA') or exit('error');
class func_jy_print extends plugin{
	public function printer($params,$plugin_name='',$nowait=false,$print_nums=1){
		return $this->print($params['id'],$params['sendcontent'],$nowait,$print_nums);
	}
	public function printing($id,$content){
		return $this->print($id,$content);
	}
	public function getlist($merchid=0,$storeid=0){
		$printers=pdo_getall('jy_print_print',array('uniacid'=>$_SESSION['uniacid'],'merchid'=>$merchid,'storeid'=>$storeid));
		return $printers;
	}
}
?>